package com.eorchis.module.statistics.trainingcompletionrate.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.eorchis.module.statistics.trainingcompletionrate.dao.ITrainingCompletionRateDao;
import com.eorchis.module.statistics.trainingcompletionrate.service.ITrainingCompletionRateService;
import com.eorchis.module.statistics.trainingcompletionrate.ui.commond.TrainingCompletionRateQueryCommond;
import com.eorchis.module.statistics.trainingcompletionrate.ui.commond.TrainingCompletionRateValidCommond;

@Service("com.eorchis.module.statistics.trainingcompletionrate.service.impl.TrainingCompletionRateServiceImpl")
public class TrainingCompletionRateServiceImpl implements
		ITrainingCompletionRateService {

	@Autowired
	@Qualifier("com.eorchis.module.statistics.trainingcompletionrate.dao.impl.TrainingCompletionRateDaoImpl")
	private ITrainingCompletionRateDao dao;

	@Override
	public List<TrainingCompletionRateValidCommond> queryTrainingCompletionRateList(
			TrainingCompletionRateQueryCommond queryCommond) throws Exception {
		return dao.queryTrainingCompletionRateList(queryCommond);
	}

	@Override
	public List<TrainingCompletionRateValidCommond> queryTrainingCompletionRateList(
			String ministrieId, String ministrieName) throws Exception {
		return dao.queryTrainingCompletionRateList(ministrieId, ministrieName);
	}

	@Override
	public List<TrainingCompletionRateValidCommond> queryTrainingCompletionRateList(
			String deptId, String ministrieId, String ministrieName)
			throws Exception {
		return dao.queryTrainingCompletionRateList(deptId, ministrieId, ministrieName);
	}

}
